PrestoPlayer\Support\Block B

Total Complexity 78
Dependencies 10
Dependents 1
Total lines 607
Lines of code 288
Logical lines of code 143
Comment lines 147
Methods 22
Properties 8

Methods 22

Method Rating Maintainability Complexity Lines of code
_sanitizeAttibutes()
B
40 16 54
getPlayerStyles()
A
47 9 35
html()
A
47 9 33
getFeedHtml()
S
52 4 29
initComponentScript()
S
57 4 18
getPlayerClasses()
S
57 4 16
getBranding()
S
66 5 7
getPreset()
S
59 4 14
getClasses()
S
73 3 4
getAudioPreset()
S
65 3 8
middleware()
S
68 3 8
isHls()
S
73 2 4
iframeFallback()
S
72 2 5
getFallbackHTMLForUnauthorizeAccess()
S
64 2 10
getCSS()
S
67 1 9
register()
S
82 1 3
overrideAttributes()
S
79 1 3
sanitizeAttributes()
S
82 1 3
getAttributes()
S
80 1 3
registerBlockType()
S
66 1 9
additionalAttributes()
S
82 1 3
__construct()
S
65 1 10